import request from '@/utils/request'

export function hiddenDangerConfigurationList(data) { //隐患管理-审核流程配置-分页查询
    return request({
        url: '/project-quality/api/danger/process/page',
        method: 'post',
        data
    })
}
export function hiddenDangerConfigurationAdd(data) { //隐患管理-审核流程配置-添加
    return request({
        url: '/project-quality/api/danger/process/save',
        method: 'post',
        data
    })
}
//原 put
export function hiddenDangerConfigurationEdit(data) { //隐患管理-审核流程配置-编辑
    return request({
        url: '/project-quality/api/danger/process/put',
        method: 'post',
        data
    })
}
export function hiddenDangerConfigurationDetails(id) { //隐患管理-审核流程配置-单条查询
    return request({
        url: '/project-quality/api/danger/process/'+id,
        method: 'get',
    })
}
//原 del
export function hiddenDangerConfigurationDelete(id) { //隐患管理-审核流程配置-删除
    return request({
        url: '/project-quality/api/danger/process/del/'+id,
        method: 'get',
    })
}